import 'package:flutter/material.dart';

class SearchPage extends StatefulWidget {
  SearchPage({Key? key}) : super(key: key);

  @override
  _SearchPageState createState() => _SearchPageState();
}

class _SearchPageState extends State<SearchPage> {
  @override
  Widget build(BuildContext context) {
    //路由导航的都是单独的页面，需要使用Scaffold来做布局，当然你也可以不用，不过这是通用做法。这种布局比较通用
    return Scaffold(
      appBar: AppBar(
        title: Text('Search Page'),
      ),
      body: Text("Search Page"),
    );
  }
}
